package service;


import model.Goods;

import java.util.List;

public interface GoodsService extends BaseService {
    int addAGoods(Goods goods);

    int delAGoods(String id);

    int updateGoods(String id, Goods goods);

    Goods findAGoodsById(String id);

    List<Goods> findGoodsByIds(String ids) throws Exception;

    List<Goods> getGoodsListDb() throws Exception;

    List<Goods> findGoodsByName(String name);


}
